package a.d.b;

import java.math.BigInteger;

public class j
  extends g
{
  private boolean t = true;
  private static final j u = new j();
  private static BigInteger v = BigInteger.valueOf(1L);
  private static BigInteger w = BigInteger.valueOf(2L);
  public static int x;
  
  public static j g()
  {
    return u;
  }
  
  public Object a(double paramDouble1, double paramDouble2)
  {
    BigInteger[] arrayOfBigInteger1 = new BigInteger[2];
    BigInteger[] arrayOfBigInteger2 = new BigInteger[2];
    a(paramDouble1, arrayOfBigInteger1);
    a(paramDouble2, arrayOfBigInteger2);
    Object localObject1;
    Object localObject3;
    Object localObject2;
    Object localObject4;
    if (this.t)
    {
      localObject1 = new y(arrayOfBigInteger1[0]);
      localObject3 = new y(arrayOfBigInteger1[1]);
      localObject2 = new y(arrayOfBigInteger2[0]);
      localObject4 = new y(arrayOfBigInteger2[1]);
      if (!e.a) {}
    }
    else
    {
      localObject1 = new t(arrayOfBigInteger1[0]);
      localObject3 = new t(arrayOfBigInteger1[1]);
      localObject2 = new t(arrayOfBigInteger2[0]);
      localObject4 = new t(arrayOfBigInteger2[1]);
    }
    x localx1 = ((x)localObject1).c((x)localObject4);
    x localx2 = ((x)localObject2).c((x)localObject3);
    x localx3 = ((x)localObject3).c((x)localObject4);
    d locald = new d(localx1, localx2, localx3, this);
    locald.j();
    return locald;
  }
  
  private static void a(double paramDouble, BigInteger[] paramArrayOfBigInteger)
  {
    boolean bool2 = e.b;
    boolean bool1 = e.a;
    long l1 = Double.doubleToLongBits(paramDouble);
    if (!bool2) {}
    int i = l1 >> 63 == 0L ? 1 : -1;
    int j = (int)(l1 >> 52 & 0x7FF);
    long l2 = j == 0 ? (l1 & 0xFFFFFFFF) << 1 : l1 & 0xFFFFFFFF | 0x0;
    int k = j - 1075;
    paramArrayOfBigInteger[0] = BigInteger.valueOf(i * l2);
    if (!bool2) {
      if (k == 0)
      {
        paramArrayOfBigInteger[1] = v;
        if ((!bool2) && (!bool1)) {
          return;
        }
      }
    }
    if (!bool2) {
      if (k > 0)
      {
        paramArrayOfBigInteger[0] = paramArrayOfBigInteger[0].multiply(w.pow(k));
        paramArrayOfBigInteger[1] = v;
        if ((!bool2) && (!bool1)) {
          return;
        }
      }
    }
    k = -k;
    paramArrayOfBigInteger[1] = w.pow(k);
  }
}


/* Location:           E:\idea\
 * Qualified Name:     a.d.b.j
 * JD-Core Version:    0.7.0.1
 */